﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Interfaces;

namespace Model
{
    public class User : IUser
    {
        private string _name;
        private string _password;

        public User(string name, string password)
        {
            this._name = name;
            this._password = password;
        }

        public string Password
        {
            get { return _password; }

            set { _password = value;}
        }

        public string UserName
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }
    }
}
